﻿@model KnowledgeCommunity.Model.Document

@{
    ViewBag.Title = "审批";
    Layout = "~/Views/Shared/_Layout_zone.cshtml";
}

<div class="contentcontainer">
    <div class="headings">
        <h2>审批</h2>
    </div>
    <div class="contentbox">
        @using (Html.BeginForm("ApproveD", "Zone", FormMethod.Post, new { enctype = "multipart/form-data" }))
        {
         @Html.ValidationSummary(true)
         @Html.HiddenFor(model => model.Id)
        <table width="100%" border="0" cellpadding="0" cellspacing="0"><tbody>
            <tr>
                <th width="200px">编号</th>
                <td> @Html.DisplayFor(model => model.ShapeCode)</td>
                <th width="200px">文档名称</th>
                <td> @Html.DisplayFor(model => model.Title)</td>
            </tr>
            <tr>
                <th>贡献者</th>
                <td> @Html.DisplayFor(model => model.Contributor)</td>
                <th>价值</th>
                <td> @Html.DisplayFor(model => model.Value)</td>
            </tr>
            <tr>
                <th>状态</th>
                <td>@Enum.GetName(typeof(KnowledgeCommunity.Service.Enum.State),Model.State)</td>
                <th>创建时间</th>
                <td> @Html.DisplayFor(model => model.AddTime)</td>
            </tr>
            <tr>
                <th>关注次数</th>
                <td>@Html.DisplayFor(model => model.ClickNum)</td>
                <th>文档属性</th>
                <td> @Enum.GetName(typeof(KnowledgeCommunity.Service.Enum.IsPublic), Model.IsPublic)</td>
            </tr>
            
         </tbody>
        </table>
        <input type="submit" class="btn" id="_approve" value=" 审批通过 >> " />
        }  
        <div style="clear: both;"></div>
    </div>
</div>
